package com.gxa.worker.recycling.service;

import com.gxa.core.recycling.exception.BusinessException;
import com.gxa.core.recycling.pojo.Recycler;

import java.util.List;
import java.util.Map;

/**
 * @author Bei
 * @date 2021/12/2 18:52
 */
public interface RecyclerService {
    /**
     * 廖泓宇
     * 修改回收员账户密码
     */
    void updateWorkerPwd(Long id,String firstPwd,String phone,String oldPwd,String newPwd) throws BusinessException;

    /**
     * 廖泓宇
     * 根据回收员id返回密码和phone
     */
    Recycler pwdAndPhone(Long id);
}
